package org.apache.sad.core.framework.logging.log4j;

import java.util.Hashtable;

public class AuditLoggerConfiguration {

	private static AuditLoggerConfiguration singleton = new AuditLoggerConfiguration();

	public static AuditLoggerConfiguration getInstance() {
		return singleton;
	}

	private volatile Hashtable<String, MethodConfiguration> methodConfigs = new Hashtable<String, MethodConfiguration>();
	

	protected AuditLoggerConfiguration() {
		super();
	}

	public void setMethodConfigurations(Hashtable<String, MethodConfiguration> methodConfigurations) {
		methodConfigs = methodConfigurations;
	}
	
	public Hashtable<String, MethodConfiguration> getMethodConfigurations() {
		Hashtable<String, MethodConfiguration> tmpConfigs = methodConfigs;
		return tmpConfigs;
	}
}
